package com.ice.app.system.organ.vo;

import java.util.List;

import com.iceframework.core.entity.TreeEntity;

/**
 * 菜单导航视图对象
 * 
 * @author Palo
 *
 */
public class OrganTreeVo implements TreeEntity<OrganTreeVo>{
	
	//必须留
	private String id;
	private String parentId;
	private String organCode;
	private String name;
	private String open;
	private List<OrganTreeVo> children;
	

	// 兼容zTree
	private Boolean checked;
	private String pId;
	
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	public String getpId() {
		return pId;
	}
	public void setpId(String pId) {
		this.pId = pId;
	}
	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOpen() {
		return open;
	}
	public void setOpen(String open) {
		this.open = open;
	}
	public List<OrganTreeVo> getChildren() {
		return children;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	@Override
	public String getParentId() {
		// TODO Auto-generated method stub
		return parentId;
	}
	@Override
	public void setChildren(List<OrganTreeVo> children) {
		// TODO Auto-generated method stub
		this.children = children;
	}
	public String getOrganCode() {
		return organCode;
	}
	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}

}
